package com.feicheng.persistence.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.feicheng.persistence.entity.CardType;
import com.feicheng.persistence.model.CardTypeMain;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cailongyang
 * @since 2021-12-14
 */
public interface ICardTypeService extends IService<CardType> {

    Page<CardTypeMain> getCardTypesByPage(Page<CardTypeMain> cardTypeMainPage, QueryWrapper<CardTypeMain> queryWrapper);

    List<CardTypeMain> getCardTypes(@Param(Constants.WRAPPER) QueryWrapper<CardTypeMain> wrapper);
}

